package se.jayway.millionaire.engine;

public class Configuration {
	private static Configuration instance;

	private String databaseFileName;

	private Configuration() {
	}
	
	public static Configuration getInstance() {
		if (instance == null) {
			instance = new Configuration();
		}
		return instance;
	}

	public int getGameRoundTimeOut() {
		return 5000;
	}

	public int getNumberOfAnswersInARowToWin() {
		return 3;
	}
	
	public String getDatabaseFileName() {
		return databaseFileName;
	}

	public void setDatabaseFileName(String fileName) {
		this.databaseFileName = fileName;
	}
}
